package com.example.dnfgamercommunitybackend.dao;

import com.example.dnfgamercommunitybackend.entity.Account;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AccountDao {
    Account getAccountByUsername(String username);

    int getAccountIdByUsername(String username);
    int addAccount(Account account);

    int addUserAccountRole(int userId);

    int updateProfile(Account account);

    Account getProfile(int userId);
}